﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Notes.Services
{
    public static class Constants
    {
        public const string DatabaseFilename = "TodoSQLite.db3";

        public static string DatabasePath =>
            Path.Combine(FileSystem.AppDataDirectory, DatabaseFilename);


        public static string BaseAddress = DeviceInfo.Platform == DevicePlatform.Android ? "https://10.0.2.2:5001" : "https://localhost:5001";
        
        public static string TodoItemsUrl = $"{BaseAddress}/api/todoitems/";

        public static string RestUrl = "";
    }
}
